site.canLocateInSite()

Availability 3.0
Description Determines whether Dreamweaver can perform a Locate in Local Site or Locate in Remote Site operation (depending on the argument).
Arguments localOrRemote, siteOrURL
The first argument must be either "local" or "remote".
The second argument must be the keyword "site", indicating that the function should act on the selection in the Site window, or the URL for a single file.
Returns One of the following values:
If the second argument is "site", a Boolean value indicating whether both panes contain site files (not the site map) and whether the selection is in the opposite pane from the argument.
If the first argument is "local" and the second argument is a URL, a Boolean value indicating whether the document belongs to a site.
If the first argument is "remote" and the second argument is a URL, a Boolean value indicating whether the document belongs to a sitefor which a remote site has been defined, and, if the server type is Local/Network, whether the drive is mounted.